﻿@model Journey.Modules.Security.Models.LoginUserModel

@{
    ViewBag.Title = "用户登录";
}

<h2>用户登录</h2>

@using (Html.BeginForm("Login", "Account", FormMethod.Post))
{
    <table>
        <tr>
            <td>账号：</td>
            <td>@Html.TextBoxFor(model => model.AccountNumber) @Html.ValidationMessageFor(model => model.AccountNumber)</td>
        </tr>
        <tr>
            <td>密码：</td>
            <td>@Html.PasswordFor(model => model.Password) @Html.ValidationMessageFor(model => model.Password)</td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="登录" />
            </td>
        </tr>
    </table>
}

@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/validate")
<script src="/Areas/Security/Content/Scripts/login.js"></script>